import axios from 'axios';

import type { WithdrowOperate, WithdrowQuery } from '../models/WithdrowList';

export const getWithList = (query: WithdrowQuery) => axios.get('/api/v1/withdrawal/user/page', { params: query.params });

export const operateWith = (body: WithdrowOperate) => axios.post('/api/v1/withdrawal/audit', body.params);
